package com.hzy.wechat;

public class WxConfig {
    public static final String  URL =  "https://api.weixin.qq.com";
    public static final String TOKEN = "";
    public static final String APP_ID = "wx4ad631324ee025da";
    public static final String SECRET = "53928e7bd5dd2d1304d085fa97d934d8";
    public static final String PUBLIC_APP_ID = "wx4ad631324ee025da";
    public static final String PUBLIC_SECRET = "53928e7bd5dd2d1304d085fa97d934d8";
    //微信支付商户号(商户申请微信支付后，由微信支付分配的商户收款账号。)
    public static final String MCH_ID = "1536416001";
    public static final String KEY = "";
    //API密钥
    //交易过程生成签名的密钥，仅保留在商户系统和微信支付后台，不会在网络中传播。商户妥善保管该Key，切勿在网络中传输，不能在其他客户端中存储，保证key不会被泄漏。商户可根据邮件提示登录微信商户平台进行设置。也可按以下路径设置：微信商户平台(pay.weixin.qq.com)-->账户中心-->账户设置-->API安全-->密钥设置
    public static final String KEY2 = "";
    public static final String ORDER_CALLBACK_URL = "";
    public static final String UNIFIED_ORDER_URL = "";
    public static final String SIGN_TYPE = "MD5";
    public static final String GRANT_TYPE = "authorization_code";
    public static final String JS_CODE2SESSION_URL =  URL + "/sns/jscode2session";
    public static final String REFUND_CALLBACK_URL = "/api/wx/wxRefund/wxNotify";
    public static final String REFUND_URL = "https://api.mch.weixin.qq.com/secapi/pay/refund";
    public static final String PAY_URL = "https://api.mch.weixin.qq.com/v3";
    //微信企业付款到个人账号
    public static final String TRANSFER_URL = "https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers";
    public static String CERTPATH = "cert/apiclient_cert.p12";//"商家证书在项目的存放路径";

    public static String CGI_BIN_TOKEN =  URL + "/cgi-bin/token";


    public static final String GET_DELIVERY_LIST ="https://api.weixin.qq.com/cgi-bin/express/delivery/open_msg/get_delivery_list";
    //更新物品信息
    public static final String UPDATE_WAYBILL_GOODS = URL + "/cgi-bin/express/delivery/open_msg/update_waybill_goods";

    //传运单接口 trace_waybill
    public static final String TRACE_WAYBILL = URL + "/cgi-bin/express/delivery/open_msg/trace_waybill";

    public static final String GET_WX_CODE_UN_LIMIT = URL + "/wxa/getwxacodeunlimit";

    public static final String GET_USER_PHONE_NUMBER = URL + "/wxa/business/getuserphonenumber";

    //参考以下文档获取access_token（有效期7200秒，开发者必须在自己的服务全局缓存access_token）：
    public static final String GET_ACCESS_TOKEN = "https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Get_access_token.html";


    //access_token 采用http GET方式请求获得jsapi_ticket（有效期7200秒，开发者必须在自己的服务全局缓存jsapi_ticket）：
    public static final String GET_TICKET = URL + "/cgi-bin/ticket/getticket";
}
